<?php
	include_once('_head.php');
	$filename = $_POST['filename'];

	if(file_exists($filename)){
		$lines = file($filename);
		$tmp = readmyline($lines);
		$_SESSION['sitedata'] = $tmp;
		echo "<pre>";
		print_r($tmp);
		echo "</pre>";
	}
	else{
		die('File not found');
	}


?>